home *** CD-ROM | disk | FTP | other *** search
- ## ##
- ## ## ######### ########## TM
- ############### ## ## ## ## ##
- ## ## ## ## ## **** ##
- ## ###### ## ## ## ##
- ############# ## ## # ##########
- ## ## ## ## ### ## ##### ##
- ## # # ## #### ## ## ## ##
- ## # # ## #### ## ## ## ##
- ## ####### ## # ### ## # ## ##########
- ## ## ## # ## ## #### ## ##
- ## ####### ## ## ## ## ## ##
- ## ## ## ## ## #### # ##########
- ## ## ## ## # ## ### ##
- ## ## #### ## # ## ### ##
- # # # # # # ##############
-
-
- NJStar(tm) - A Chinese Editor Version 2.00
-
- Copyright (C) Hongbo Ni 1991. All Rights Reserved.
-
-
- C. Reversion History
- ===============================================
-
- 03/07/91 Ver 1.00
- First release.
-
- 06/07/91 Ver 1.01
- When replace, 'G' option did not work, Fixed.
- 07/07/91 Alt_',' == ',' Alt_'.' == '.' ;
- display disappeared when UP to first line with only '\n', Fixed.
-
- 11/07/91 Ver 1.02
- Hang on search forward when Chinese Characters mis-matched, FIXED.
- Hang on search backward when Chinese Characters mis-matched,FIXED.
- When replace, 'N' option does not work, Fixed.
- Do not re-load pinyin dictionary when switch CCLIB.
-
- 15/07/91 Ver 1.03
- DupLine hangs when EOF on current line. Fixed.
-
- 21/07/91 Ver 1.04
- Add <ToggleEOL><^F9> command for toggle the display of EOL mark.
-
- 22/07/91 Ver 1.05
- User Assembly code for Screen write and clear, speed increase 20%.
- add <LianXiang><@X> to LianXiang previous Chinese Char.
-
- 23/07/91 Ver 1.06
- add <FileStatus><^F1> to display current file size, no. of Chinese
- characters and no. of lines (Hard Line). the cursor line (hard) and
- Col are also displayed at bottom line
-
- CHANGE: <AddLX>, Now have to Mark the Word then <AddLX>
-
- 24/07/91 ver 1.07
- Add <GotoLine><^F6> to go a specific line (NOTE only ENTER('\n')
- is considered as a line, not the line displayed on the screen)
- Program will ask for line no., you can response one of the fllowing:
-
- Line: 100 goto line 100.
- Line: +50 forward 50 lines.
- Line: -20 backup 50 lines.
- Line: 1 goto beginning of the file.
- Line: $ goto end of the file.
-
- Add +num option for NJSTAR command line to start editing on
- line [num]. For example:
- NJSTAR file1.gb +100 file2.gb +$
- will start file1.gb on line 100 and start file2.gb at end.
-
- NEW: Meta key can be configured with 0-9, A-Z and special chars(<96)
- (SEE: NJCONFIG.KEY for detail).
-
- 25/07/91 Ver 1.09
- Add <RepeatCmd><^F11> -- repeat previous command for no. of times.
- Add <WordCount><^F5> -- Count specified string (Can be Chinese)
-
- 26/07/91 Ver 1.10
- Add <MacroRec> <F11> -- Start/stop Macro Recording
- Add <MacroExec><F12> -- Execute Recorded Macros
- Add <Jump> <JTrue> <JFalse> <Pause> #nn(ASCII) $nn(Sleep) for
- NJCONFIG
-
- *------------------------------------------------------------------------------
- * Macro commands - Excute more than one command with one key stroke, plus more.
- *
- * NOTE: Using Macro Commands in NJCONFIG
- * 1. macro command start with 'Macro'
- * 2. '&' at and means continue at next line
- * 3. '#' followed by number n == Insert Ascii n into Macro key.
- * Max n is 160, n can be specified as: DEC $150; OCT $083; HEX $0xA0.
- * 4. '$' followed by number n == Sleep n ticks before exec. next command.
- * 5. Lebeles are a name+':'; eg. BEG: END:, Max number of Labeles is 64.
- * 6. Jump Beg: == Jump to Label Beg: unconditionally
- * 7. JTrue Beg: == Jump to Beg: if previous command is executed Ok
- * 8. JFalse Beg: == Jump to Beg: if previous command is executed NOT Ok
- * 9. Pause == Stop Macro Execution till Enter/ESC is Pressed
- * 10. "XXXX" or 'XXXX' == insert XXXX into Macro key. eg "I'AM Typping"
- *
- * Eg. Meta+^N Macro "Njstar" '─▀║Φ▓¿' #155 #156
- * Meta+^L Macro beg: Scrolldown Jfalse end: JUMP beg: &
- * end: BegFile $180 Jump beg:
- *------------------------------------------------------------------------------
-
- 28/07/91 Version 1.12
- Add functions for handling 2 Encodings for E-mail
- 1. Hz Encoding:
- c = 0 - 31 ---> ~(C~) *** C= c+32;
- c = 32 -127 ---> C *** C= c;
- c = 128-160 ---> ~[C~] *** C= c-96;
- c = 161-254 ---> ~{C~} *** C= c-128;
- 2. zW Encoding:
- (1) All line start with zW, max len=78;
- (2) Chinese Chars(161-254/0xA1-0xFE) are masked with high bit OFF
- (3) All other chars are preceded with a blank
- (4) End of Line ('\n') are coded as '#\n'
-
- eg. Njstar ─▀║Φ▓¿
- will be coded as:
- zW N j s t a r D_:h2(#
-
-
- ZwSaveFile<#F2> - Save Current File in zW Format
- ZwDecode <#F7> - Decode the current File in zW format
- ZwEditFile<#F8> - Load a file which is zW encoded, and decode it.
-
- HzSaveFile<#F4> - Save Current File in zW Format
- HzDecode <#F5> - Decode the current File in zW format
- HzEditFile<#F6> - Load a file which is zW encoded, and decode it.
-
- PcxSaveFile<#F3> - Creat PCX files (one file per page)
-
- Command Line Options: -
- -zW -- Edit zW encoded file, decode it after read.
- -Hz -- Edit Hz encoded file, decode it after read.
-
- 01/08/91 Version 1.15
- Fixed the File Ring.
- Add <PrevFile><@F10> - goto previous file
- <QuitAll> <^F3> - Quit all the files in the Ring
- <ListDir> <@F1> - display directory list, total files and
- free disk space.
- When Enter a file name at bottom line, <ListDir><@F1> &
- <QuickHelp><F1> will display a diractory list based on the path name
- in the file name.
-
- Changes: <SaveAll> now do not save LianXiang&PinYin Dict
- <QuitFile> now do not EXIT njstar if more files on the
- files ring.
-
- 02/08/91 Changes: 1. All the chars continuously deleted with <BackSpace>
- <BS> & <DelChar><DEL> are saved in delete buf, It can
- be undeleted by <UnDelLine><F9>.
-
- 2. All the Lines deleted with <DelLine><^BS>,
- <DelToBegLine><^J> and <DelToEndLine><^K> are stored in
- same buffer as <DelChar> and <BackSpace>. It can be
- undeleted by <UnDelLine><F9>.
-
- 3. The Maximum Length of the delete buffer can be configured in NJCONFIG (default = 5Kb).
-
- 03/08/91 Changes: 1. In GBinput and QWinput, LianXiang'ed chars can not be
- selected, FIXD.
-
- 2. Befor finishing Enter a pinyin with Tune, The Order of
- listed chinese chars is changed to: Common Chars first,
- Un-common chars at end. Common CC orsed by Tune(12345).
-
- 3. Max size of LianXiang Dic increased to 73K bytes.
-
- 4. The Max word Length for <AddLX> increased to 80 chars.
-
- 5. When NJSTAR prompt for input, the file name or search
- string can be edited by following keys: <Cursorleft>
- <LEFT>, <CursorRight><RIGHT>, <BegLine><HOME>,
- <EndLine><END>, <DelLine><^BS>, <DelChar><DEL> and
- <BackSpace><BS>. if the first key is a not one of above
- commands, the default string (or filename) will
- disapeared.
-
- If NJSTAR is waiting for a file name, F1 will list the
- Diractory (Path is specified in file name).
-
- 08/08/91 Add <Print><^P> to print on 9p / 24p dot matrix printer
- Njstar will ask for:
- (1). Printer Type (9_Pin 2_4Pin)?
- (2). Paper Feeding (C-Continuous M-Manual)?
- (3). Printing Region (A-All M-Marked)? (if marked)
-
- Formating Commands:
- (1). \NewPage or \╗╗╥│
- Force to Print on a new page
-
- (2). \PageNumber=nn or \╥│║┼=nn
- Specify the current page number to nn
-
- (3). \NumberStyle="(%d)" or \╥│▒Ω="╡┌ %d ╥│"
- Specify the Page Number Style, '%d' print current page no.
-
- (4). \LeftMargin=nn or \╫≤┐╒=nn
- Set Left Margin to nn Chinese Chars.
-
- (5). \RightMargin=nn or \╙╥┐╒=nn
- Set Rightt Margin to nn Chinese Chars.
-
- (6). \TopMargin=nn or \╔╧┐╒=nn
- Set Top Margin to nn Lines (1 line=1/6 inch)
-
- (7). \BottomMargin=nn or \╧┬┐╒=nn
- Set Bottom Margin to nn Lines (1 line=1/6 inch)
-
- (8). \LineSpace=nn or \╨╨╛α=nn
- Set the space between lines to nn.
-
- (9). \Font=nn or \╫╓║┼=nn
- Set the Size of Chinese Chars to nn.
- nn = 0 ---- Small Size
- nn = 1 ---- Normal Size
- nn = 2 ---- Large Size
-
- (10). \Center or \╓╨╨─
- Center the current Line (Hard Line) on Print Out.
-
- (11).\NoPageNumber or \╬▐╥│║┼
- Do not print Page number.
-
- All Above commands must start at beginning of the Line,
- '\\' will print a '\'.
-
- Options Configured in NJCONFIG:
- (1) Printer Port (Lpt1/Lpt2)?
- (2) Lines per page
- (3) line length in Chinese chars
- (4) Default left margin
- (5) Default right margin
- (6) line spacing
- (7) special formating commands
- (8) extra line of form feed (if Printer's FF is not enough)
- (9) Page numbering (Y/N)?
- (10) Use Ascii Symbols in CCLIB for Ascii Chars (Y/N)?
- (11) The width of one ascii char of printer default font
-
- 09/08/91 Intelligent Pinyin LianXiang -- Keep typing PinYin without selection
-
- Example: suppose I want type - ─╧╝½╨╟╓╨╬─╧╡═│
- type 'nan' you will get:
- ________________________________________________________________
- ╞┤╥⌠ nan2 1 ─╧ 2 ─╤ 3 ─╨ 4 α½ 5 Θ¬
-
- Press <Space> you will get:
- ─╧
- _________________________________________________________________
- ╞┤╥⌠ + ┴¬╧δ > 1 ▒▒ 2 ▓² 3 ╖╜ 4 ╝½ 5 ╛⌐ 6 ├µ 7 ─■ 8 ╬│ 9 ┼╖ 0 ╤╟
-
- Just type 'ji2' instead of press 4, you will see
- ─╧
- _________________________________________________________________
- ╞┤╥⌠ ji2 > 1 ╝½ 2 ╝░ 3 ╝╢ 4 ╝┤ 5 ╝¬ 6 ╝» 7 ╝▒ 8 ╝« 9 ╜σ 0 ߺ
-
- Pree <Space> again
- ─╧╝½
- _________________________________________________________________
- ╞┤╥⌠ + ┴¬╧δ > 1 ╡π 2 ╢╚ 3 ╢╦ 4 ╞Σ 5 ╧▐ 6 ╓╡ 7 ╙╥ 8 ╫≤ 9 ┤≤ 0 ╨í
-
- Do not worry, keey type 'xing1'
- ─╧╝½
- _________________________________________________________________
- ╞┤╥⌠ xing1 1 ╨╟ 2 ╨╦ 3 ╨╚ 4 ╨╔ 5 ╨╩
-
- Press <Space>
- ─╧╝½╨╟
- _________________________________________________________________
- ╞┤╥⌠ + ┴¬╧δ > 1 ╝╩ 2 ┐╒ 3 ╞┌ 4 ╟≥ 5 ╠σ 6 ╧╡ 7 ╘╞ 8 ╫∙ 9 ═¿ 0 │╟
-
- Type 'zhong1' press <space>
- ─╧╝½╨╟╓╨
- _________________________________________________________________
- ╞┤╥⌠ + ┴¬╧δ > 1 ╣· 2 ╬─ 3 ▓¿ 4 ▓┐ 5 ▓π 6 ╢╛ 7 ╡╚ 8 ╡π 9 ╢½ 0 ╢╧
-
- Type 'wen2'
- ─╧╝½╨╟╓╨
- _________________________________________________________________
- ╞┤╥⌠ wen2 1 ╬─ 2 ╬┼ 3 ╬├ 4 ╬╞ 5 π╙ 6 Φ╖ 7 ÷⌐
-
- Press <space>
- ─╧╝½╨╟╓╨╬─
- _________________________________________________________________
- ╞┤╥⌠ + ┴¬╧δ > 1 ╒¬ 2 ▒╛ 3 ╖¿ 4 ╝■ 5 ╛▀ 6 ╗» 7 ╜╠ 8 ├≈ 9 ╩Θ 0 ╬∩
-
- Keep typing 'xi4' <Space> 'tong' <Space>, finally we have got
- ─╧╝½╨╟╓╨╬─╧╡═│
-
- There is almost no need for press '<' and '>' key and don't have
- to look at bottom line, just keep typing Pinyin with/without
- Tune, then press <space>. That is all, It is easy, and Fast.
-
- 10/08/91 Changes:
- (1). <WordLeft> and <WordRight> now consider all symbols:
- (eg. 'íúú¼ú«ú║ú╗íóú┐í¡íñí¬úíú└úúíτúÑú▐úªúñí«í»í░í▒')
- in CCLIB as punctuation mark. so those commands move over
- sentence by sentence in Chinese or Word by word in ASCII.
-
- (2). Screen display is much faster in ASCII mode
-
- 11/08/91 NEW: In ASCII mode, the cursor row & col number are displayed.
-
-
- 20/08/91 Ver 1.20
- Second Release
-
- 25/08/91 Ver 1.21
- 1. Delete Buffer is not initialized. FIXED.
- 2. The PinYin list is displayed when ShenMu entered.
-
- 01/09/91 Ver 1.22
- 1. RepeatCmd did not repeat a Macro Key, FIXED.
- 2. Now when inputing, the marked text will not be auto unmarked.
-
- 03/09/91 Ver 1.23
- Fixed Printer problems.
-
- 20/09/91 Add <DelLX><@F8> for deleting word from LXDIC
-
- 05/10/91 Ver 1.3
- Add <EXinput><@f2> for other input methods, upto 26 extra input
- methods can be implemented. currently include 10 methods found
- in the CCDOS or other chinese software.
-
- a.╬σ╗« WuHua - 5 basic strokes: - | / \ > max 5(1-5)numbers
- b.╬σ▒╩ WuBiZiXin - Coded by Wang Yongming, max 4 chars, unique.
- c.▓╓≥í CangJi - used in TaiWan's software, unique. 6 chars
- d.╡τ▒¿ DianBao - As use in Chinese Telecom, unique. 4 number.
- e.╝≥╞┤ SortPinYin - sorter Pinyin, max 3 chars, as in CCDOS
- s=ong y=ing g=eng h=ang l=ai v=ü
- u=sh i=ch a=zh f=en j=an k=ao
- f.┤┐╞┤ PurePinYin - Standard PinYin without tone.
- g.╥⌠╥Γ YinYi - PinYin+meaning as used in CWP 1.2, max 6 chars
- h.╩╫╬▓ SouWei - First and last radical, as used in CCDOS
- Max 2 chars.
- i.╘┴╙∩ Cantonese - Cantonese PinYin as proposed by F.F.Lee
- j.╚╒╙∩ Japanese - For Japanese Hiragana and Katakana Input.
-
- **** Japanese Version of NJSTAR is available using
- **** JIS(Japanese Industrial Standard) with Romaji
- **** Hiragana and Katakana input and Automatic
- **** Kana to Kanji convertion. All functions are
- **** the same except input.
-
- .......... ... the dictionay name is NJINPUTx.DIC, x=a-z
- z. upto z
-
- When Number is used for input, such as WuHua, Only Keypad Number
- can be used. Numbers on main keyborad are used for selection.
- The Keypad number can used for selection when reach max number.
- The Grey Enter key on Keypad can used to select first char at any
- time.
-
- 08/10/91 Make Grey+-*/ and enter configurable. and SHIFT+GreyKeys configurable.
- using keypad number for inputing Dianbao and WuHua. main keyboard
- number are used for selection.
-
- 09/10/91 Now <search> and <SearchReplace> work like WordPefect, HardRetuen
- Can be inserted to search and replace string by command:
- <HardReturn><#ENTER / GERYENTER>
-
- <HardReturn><GreyEnter> can be used to select first CC when in
- in <EXinput><@F2> with number keys. (eg. DianBao, WuHua)
-
- Add <ScreenOn> and <ScreenOff> for Macro.
- <ScreenOff> turn screen display off while doing macro, so the
- macro execute faster. the screen display is turn on automatically
- when macro exit, so no need to use <ScreenOn> at end of the macro.
-
- 30/10/91 Add Printer drivers for IBM Proprinter 9/24 pin, Canon BJ, EPSON FX
- and HP laserjet.
-
- 10/11/91 Add Autosave feature to save current file to AUTOSAVE.NJX, If
- Computer power is cut OFF or NJSTAR hangs before user save the file.
- AUTOSAVE.NJX is left is the current directory. User can rename this
- file to other name before starting NJSTAR again for latest possible
- recovery.
-
- 12/11/91 Add a nice picture when starting NJSTAR. Background color is now
- configurable by NJCONFIG.
-
- 14/11/91 In Search & Replace, when a match is found, the string is hilighted.
-
- 16/11/91 Add better method for input Chinese number and Unit.
- When in PinYin mode, if the first char of the PinYin is 'i',
- the other char or number followed will be mapped to a Chinese
- char according to the following table.
-
- 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z
- í≡╥╗╢■╚²╦─╬σ┴∙╞▀░╦╛┼╢╓░┘│▀╡π╪Ñ╖╓╕÷║┼╥┌╜∩┐╦└∩├╫─Ω┴π╥│╟º╚╒╔²╠¿╚╦╘¬═≥╩«╘┬╓╗
-
- Example: type> i1990nx1ye5r8dx5f in Pinyin mode will get
- ╥╗╛┼╛┼í≡─Ω╩«╥╗╘┬╪Ñ╬σ╚╒░╦╡π╩«╬σ╖╓
-
- 21/11/91 Add mouse support. Mouse buttons are also configurable.
- Mouse Keys:
- M_LR -- Both button released
- M_LEFT -- left button released
- M_RIGHT -- right button released
- M_LL -- double left button released
- M_RR -- double right button released
- M_MID -- middle button released
- M_MM -- double middle button released
-
- Pressing Left mouse button at different part of the bottom line will
- have different functions:
-
- 0 5 12 69 74 79
- +----+-----------+-------------------------------+-------+-------+
- | 1 | 2 | 3 | 4 | 5 |
- +----+-----------+-------------------------------+-------+-------+
-
- Part 1: switch between PinYin input and Ascii input
- Part 2: excute <LianXiang> command when not in Ascii mode.
- Part 3: if Chinese chars are displayed for selection:
- pick the right character
- else if no char displayed or in ascii mode
- excute <FileList> Command (see bellow)
- Part 4: excute <MacroRec>
- Part 5: excute <PureChinese>
-
- Press Left+Right mouse button on bottom line, excute <Escape>
-
- 26/11/91 Add pull-down menu and dir picker when using <EditFile>
- add command <menu><F1> to turn on menu. Click Left mouse button on
- top line also turn on the menu. (#F1 now for <QuickHelp>)
-
- 28/11/91 Add 4 commands:
- <SaveMacro> -- Save recorded macro to a file
- <ReadMacro> -- Read macro from a file
- <SaveBlock> -- Save Maked block to a file. If nothing marked,
- the whole file are to be saved (same as <SaveAs).
- <FileList> -- List all the files in the file ring in a window,
- Use arrow keys or mouse to move, Enter or Left Mouse
- key to select file for editing or viewing.
-
- 29/11/91 Now when input search string, PureChinese Mode can be used to
- Input ASCII , numbers and punctuation.
-
- Character at begining the file can't be searched using
- <SearchBackward>. Fixed.
-
- 30/11/91 Ver 2.00 beta
-
- 01/12/91 Add -l -x for njstar command line options
- -lfile -- Load Macro file "file.NJM" into macro buffer
- -xfile -- Load Macro file "file.NJM" into macro buffer and excute it
-
- 03/12/91 Add <Replace> - Same as <SearchReplace> but does not asking for
- confirmation before Replace, mainly used for Macro.
-
- 11/12/91 Add detection of file AUTOSAVE.NJX, the user will be asked to
- rename this file before start NJSTAR again.
-
- 14/12/91 DirList of <EditFile> now sorted and Drives are added
- Now enter '\' or '\*.*' in <DirList> will display root dir.
- <searchReplace> and <WordCount> now ask for region if text is marked.
- <Print> now ask for no. of pages to print.
-
- For message "Save Changes(YES/No/Cancel)?"
- ESC or 'C' == Cancel
- Enter or 'Y' == YES
- 'N' == No
- Other key not accepted.
-
- 18/12/91 1. For Search and replace, Matched string are displayed at center of
- screen.
- 2. PCX is back.
- 3. NJSTAR new need about 450k Bytes of Free RAM
- 4. Cursor is BLINKING. Great!
- -------------------------------------------------------------------------------
- Things Planned to do:
- 1. continuous input
- -------------------------------------------------------------------------------
-